<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page isELIgnored="false"%> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <title>我的借款</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/fonts/font-awesome.min.css">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/ui-box.css">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/ui-base.css">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/ui-color.css">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/appcan.icon.css">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/appcan.control.css">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/user.css">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/bootstrap.min.css">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/bootstrap-theme.min.css" />
    </head>
    <body class="um-vp " ontouchstart  onload="load()">
        <div id="page_0" class="up ub ub-ver bc-bg" tabindex="0">
            <!--header开始-->
            <div id="header" class="uh bc-text-head ub bc-head">
                <div class="nav-btn" id="nav-left">
                    <div class="fa fa-angle-left fa-2x" onclick="location.href='${pageContext.request.contextPath}/consumer/order/myself'" ></div>
                </div>
                <h1 class="ut ub-f1 ulev-3 ut-s tx-c" tabindex="0">我的借款未完成记录</h1>
                <div class="nav-btn nav-bt" id="nav-right"></div>
            </div>
            <!--header结束--><!--content开始-->
            <div id="content" class="ub-f1 tx-l">
                 <div>
                 	<c:forEach var="Vo" items="${orderList}" >
                        <div class="alert alert-info let">
                            <div class="pull-left" style="width: 100%;"><label style="">借款金额：${Vo.apply_money}元</label></div>
                            <div class="pull-right"><label style=""><!--<a href="">查询详情</a>--></label></div>
                            <div><label style="">借款日期：${Vo.apply_time}</label></div>
                            <div ><label style="">目前进度：等待放款</label></div>    
                        </div>
                    	<script>
				    		function load(){
				    			var wu = document.getElementById("wuxi");
				    			wu.style.display="none";
				    		}
				    	</script>
                    </c:forEach>  
                 </div> 
            	<div class="fonn jushang" id="wuxi" style="display: block;">
                	<div class="text-center" style="margin-top: 40px;"><img src="${pageContext.request.contextPath}/resources/image/wu.png" ></div>
                  <p class="text-center">您没有申请借款记录哦</p>
                  <div class="renzheng  text-center"><button type="button" class="btn btn-primary"  onclick="location.href='${pageContext.request.contextPath}/consumer/customer/index'">前往借款</button></div>
                </div>
            </div>
            <!--content结束-->
        </div>
    </body>
</html>